package com.ctshk.common.enums.bus;

/**
 * @author Lenovo
 *  巴士旅客类型
 */

public enum PassengerType {
    ADULT(1,"成人"),
    CHILDREN(2,"儿童"),
    SENIORS(3,"长者");

    private Integer code;

    private  String name;

    PassengerType(Integer code,String name){
        this.code = code;
        this.name = name;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
